/*
 * ChatGroup.java
 *
 * Created on 2007年4月14日, 上午10:32
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.ecomm.chat.pojo;
import com.ecomm.platcore.app.CommonGeneralModel;
import javax.persistence.*;
import org.hibernate.annotations.Columns;

/**
 * @author pijunliang
 */
@Entity
@Table(name="CHAT_GROUP")
public class ChatGroup  extends CommonGeneralModel {
  
  /** Creates a new instance of ChatGroup */
  public ChatGroup() {
  }
  /**
   *群管理员
   */
  private String  cerateuserid;
  /**
   *群名称
   */
  private String groupname;
  /**
   *群公告
   */
  private String  groupdesc;
  /**
   *群组人员
   */
  private String  groupmember;
  /**
   *0，为没人进入聊天，1，聊天发起人进入聊天，2接收人加入，
   * 3请求第多个也假如了，多一个人就加1，退出一个减1
 
  private String  statecount;
   */
  /**
   *用逗号分开每个加入的人和离开的人
   */
  private String  joinpeople;
  /**
   *c创建时间
   */
  private String createtime;

  public String getCerateuserid() {
    return cerateuserid;
  }

  public void setCerateuserid(String cerateuserid) {
    this.cerateuserid = cerateuserid;
  }

  public String getGroupdesc() {
    return groupdesc;
  }

  public void setGroupdesc(String groupdesc) {
    this.groupdesc = groupdesc;
  }

  public String getGroupmember() {
    return groupmember;
  }

  public void setGroupmember(String groupmember) {
    this.groupmember = groupmember;
  }
/**
  public String getStatecount() {
    return statecount;
  }

  public void setStatecount(String statecount) {
    this.statecount = statecount;
  }
  */
  public String getJoinpeople() {
    return joinpeople;
  }

  public void setJoinpeople(String joinpeople) {
    this.joinpeople = joinpeople;
  }

  public String getCreatetime() {
    return createtime;
  }

  public void setCreatetime(String createtime) {
    this.createtime = createtime;
  }

  public String getGroupname() {
    return groupname;
  }

  public void setGroupname(String groupname) {
    this.groupname = groupname;
  }
  
  
}
